package com.qfedu.mbg.mapper;

import com.qfedu.mbg.model.ProductList;
import com.qfedu.mbg.model.ProductTable;
import com.qfedu.mbg.model.ProductTableExample;
import java.util.List;
import java.util.Map;

import com.qfedu.mbg.model.craftProcess;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ProductTableMapper {
    int countByExample(ProductTableExample example);

    int deleteByExample(ProductTableExample example);

    int deleteByPrimaryKey(Integer productId);

    int insert(ProductTable record);

    int insertSelective(ProductTable record);

    List<ProductTable> selectByExample(ProductTableExample example);

    ProductTable selectByPrimaryKey(Integer productId);

    int updateByExampleSelective(@Param("record") ProductTable record, @Param("example") ProductTableExample example);

    int updateByExample(@Param("record") ProductTable record, @Param("example") ProductTableExample example);

    int updateByPrimaryKeySelective(ProductTable record);

    int updateByPrimaryKey(ProductTable record);

    List<ProductList> selectSysUserByCondition(Map<String, Object> map);

    craftProcess selectCraftProcessShow(Integer productId);
}